package com.fly.springbootTemplate.service;

import com.fly.springbootTemplate.entity.StudentCard;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface StudentCardService {
    //增加学生卡
    public boolean addStudentCard(StudentCard studentCard);
    //删除学生卡
    public boolean deleteStudentCard(Integer sno);
    //修改学生卡
    public boolean updateStudentCard(StudentCard studentCard);
    //查询学生卡
    public List<StudentCard> getAllStudentCard();
    //根据sno查询学生卡
    public StudentCard getStudentCardBySno(Integer sno);
}
